package com.future.hedongjun.mine.bean.response;

import android.text.TextUtils;

import com.future.baselib.entity.BaseResponse;
import com.future.baselib.http.HttpRequest;
import com.future.hedongjun.mine.bean.UserInfo;
import com.google.gson.Gson;
import com.google.gson.JsonObject;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @author jniu
 * @Email niuxiaoqi@hztianque.com
 * @time 2018/11/13
 */
public class UserInfoResponse extends BaseResponse {

    public UserInfo userInfo;

    @Override
    public void parseInfo(String content) throws JSONException {
        userInfo = new Gson().fromJson(new JSONObject(content).optString("userinfo"),UserInfo.class);
    }
}
